package cate.common.table.activity.foodhunter.row;

import cate.common.table.ERow;
import cate.common.table.XSSFRowWrap;
import easy.java.dev.note.NoteField;

/**
 * @author liuyunke
 * @program: cate-game
 * @create
 * @description:
 */
public class FoodHunterPayRow extends ERow {
    @NoteField("累计充值金额")
    public long totalPay;
    @NoteField("奖励")
    public String reward;

    @Override
    public void parse(XSSFRowWrap xrw) {
        this.id = xrw.getInteger("ID");
        this.totalPay = xrw.getInteger("累计充值金额");
        this.reward = xrw.getString("奖励");
    }

    @Override
    public void decode() {
        //元换算成分
        this.totalPay *= 100;
    }
}
